Revivifivation display method for outline fonts based on stroke centerlines technology

ABSTRACT

A revivification display method specialized for outline fonts that based on Stroke Centerline Technology of self-defined data format, which can be applied to any operating system to enforce the function of multi-font Chinese and multi-language characters. Because the stroke is described based on the centerline, and stroke thickness parameter and curvature change parameter are introduced, the fonts are infinitely beautiful. The data share of stroke-composed components and component-composed characters makes small memory consumption of font database and revivification program, and so the process of revivification is very fast. The font generator integrated circuit (IC) product of this method can be embedded into CPU to make the system directly to be Chinese localized without any additional cost, so the IC product is especially suitable for embedded applications with very wide application prospect.

CROSS-REFERENCE TO RELATED APPLICATION

This application is a Section 371 National Stage Application ofInternational Application No. PCT/CN03/00230 filed Mar. 28, 2003 andpublished as WO 03/083640 on Oct. 9, 2003 not in English, the contentsof which is hereby incorporated by reference in its entirety.

FIELD OF THE INVENTION

This invention relates to data processing, especially relates to therevivification display of data structure font library that could changethe data to the data that the computer could process, this inventiontechnology would be used in the Chinese character information processingby computer.

BACKGROUND OF THE INVENTION

The font library and the revivification display of characters are theimportant contents of the OS. Seeing as the number of the Chinesecharacters is big, the font library is the base of processing theChinese information on OS. Using the font library, the Chinesecharacters could be displayed and imported.

There are three conventional font library technologies including bitmapfont, vector font and outline font.

The advantages of bitmap font are that making and displaying of thebitmap font are easily, but it also has its disadvantages that itcouldn't be magnified or reduced. That is the magnified and reducedeffects are very poor. Besides when it was magnified the font capabilitywould be square increased. Generally, an application need a plurality offonts having various of sizes, its storage capability requirement isvery huge. So that the bitmap fonts were used on the early OS or theembedded equipment that has lower requests on the characters displayquality and number of characters.

The vector font library and the outline font library are popular on theOS at present, there are two types mostly, TrueType and Postscript. Nowthe most of PC Os use these two font libraries. The advantages are thatthese font technologies are mature, the font style is nice and it couldbe magnified and reduced, so that it can be used in the PCs. Thedisadvantages are that the structure of the font library is complex, thefont revivification generator is complex, the effect of the smallcharacters display is bad, the revivification speed of characters isslow, the capability of the font library is big and it could not meetthe need of the embedded system. The font library technologies were bothinvented by America. We not only should pay much money, but also thedevelopment of our Chinese information processing would be baffled, itis abnormal that we are restricted on the Chinese characters fontlibrary technology area.

First of all, in the market there is no outline font library that couldmeet the need of the embedded system, because the memory capability ofthe embedded system is small. It will increase the cost while increasethe memory capability. One typeface GB18030 of TrueType font takes 20Mbyte storage space, and four typefaces take 80 Mbyte in total. At thepresent the advanced embedded system usually has only 16 Mbyte memory.The operating system itself cost some, applications need some, and theleft is small and could not hold the huge outline Chinese font library.Many advanced PDAs and cell-phones could not be put in China marketbecause they haven't been Chinese localized. As a result, they haven'tfound the way to meet the needs of the advanced Chinese embedded system.

SUMMARY OF THE INVENTION

The object of this invention is that the font style is nice at everysize, the character could be magnified and reduced without restricted,the structure of the font library is legible, the font generator is usedeasily and the display speed is quick. Besides the font librarycapability is small so that it could meet the need of the embeddedsystem. It is very necessary to invent a new font library technology.

In addition, we have to invent a new font that is formatted by our owncountry. This new font library technology should have self-property fontstyle generator, it could be the country standard and it could be thetechnology barrier when the foreign company's put embedded products inour market. So it could protect our embedded Chinese information areakeeping the top station.

The innovations and difficulties of this invention are that: create anew format and structure font library, this one would accord with theChinese characters style characteristic and the capability of the fontlibrary is small. Our aim is to found the mathematics model to displaythe Chinese characters using the computer graphics theory and to foundthe interface that could be called by Chinese OS. According to theexterior data that was called by Chinese OS and combined with theformatted font library data, we could improve the precision and qualityof the displaying of the Chinese characters. Then it could get thesystem support while displaying the characters, that will meet the needof all Chinese information processing, especially it will resolve theproblem that the embedded equipment have small memory.

The first one of the innovations of this font library and font generatoris the Stroke Centerlines. The conventional font library doesn'tdescribe the Stroke Centerlines, it just describe the whole characteroutline curve. The Stroke Centerline technology creates the Strokeframework firstly, and then creates the outline based on the centerline.When a character is scaled, only the stroke centerline will change, andthe stroke thickness is imported. The subsection of the stroke candescribe the different font style. The curvature change could ensurethat different size strokes in same kind could be approached. With that,the number of the strokes could be reduced. These all offer theconditions that we could found a structure font library and precise fontgenerator. The capability of conventional font library is lager whenthey have a good font style. Our inventing technology could make thefont library capability smallest with the nice font style, that is, cansave 90 present of the memory capacity. It sounds impossible, but werealize it, because we invent the stroke centerline and the font librarywith new parameters and structures. Base on the new structure, we inventa new font library generator which could display the characterswonderfully on the computer screen.

The second innovation is that: the conventional TrueType font librarycould not display the small size Chinese characters well, so it have toembed bitmap font libraries having several sizes (for example: from12×12 bit to 18×18 bit and so on), but this needs more memory capacity.Base on our new font library technology, our font library could displaythe small size character without embedding small size Bitmap fontlibraries.

The third innovation is that: the conventional font library technologyneeds several libraries with different thickness. But our new fonttechnology don't need, we only need a single font library.

The fourth innovation is that: someone tried to use component to combinethe whole Chinese character, but they lost. When the same componentcombines the different characters, the font style will become so bad,because the outline curve coordinate of the component is absolute, whenmagnifying or reducing the component, the thickness of component willlose the coherence. If the number of components increases, the fontlibrary capability will become bigger. Based on our stroke centerline,this problem will be resolved. The strokes have their own thickness,then the component thickness could be changed, the font style would benice. We could make eligible product.

The invention realization is described as follows: we first found thenew parameter and structure of the font library, then found amathematics model, and realize this on the Windows OS using C language,then on the embedded OS UNLEUS and is solidified on the memory(testing). At last we all hope that it could be made into font librarychip and font library explainer chip and solidified into the embeddedCPU.

This font library is named as “Revivification display method specializedfor outline fonts that based on Stroke Centerlines Technology”. It willbe called “ZGX” or “ZGX font library generator” for convenience.

ADVANTAGES OF THIS TECHNOLOGY

The advantages of this technology include: low memory cost while keepingthe elegance appearance of characters. Usually, one-font standardGB18030 (includes 27590 Chinese characters and 1136 other characters,28736 in all) will cost 1.1M bytes. Here Standard means every font hasits own data file, has specialized parameters, components and strokes.This technology will only need one shared font-lib that takes 800 kbytes. Various fonts could share the same data somehow, Song will take800 k, Fangsong, black and Kai only take 600 k each and thus in all 2600k (2.6M). TTF will take more than 100M if 7 fonts are needed, incompare, only 4.5M will needed.

This technology is optimized, it could provide in focus characters. Itonly takes very few memories. It only takes 40 k bytes for codes andthus enjoys a high speed. It uses standard C language to program. TheCore module uses integers and could be links to various OS. It couldchange size automatically and add a function to amend the thickness ofthe strokes that could not be available so far. That would be a crucialadvantage for those embedded systems. So it has wide usage.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flow chart of main module;

FIG. 2 is a flow chart of reading in font lib data files;

FIG. 3 shows a process of Changing from Standard code/UNICODE to ZGX;

FIG. 4 is a flow chart of drawing strokes according to ZGX characters'numbers;

FIG. 5 is a flow chart of Stroke generator;

FIG. 6 shows a flow chart of Bezier lines generator module;

FIG. 7 is a flow chart of generating a stroke by one or more Bezierline(s);

FIG. 8 is a flow chart of generating a stroke by one or more Beeline(s);

FIG. 9 is a flow chart of Beeline transfer sub-module;

FIG. 10 is a flow chart of Beeline sub-module;

FIG. 11 is Sub-module of drawing bitmaps in buffer;

FIG. 12 is a flow chart of Fill-in sub-module;

FIG. 13 is a flow chart of E table sub-module;

FIG. 14 is a flow chart of CXBOTOOM sort ascending sub module;

FIG. 15 shows file data format of parameterized strokes;

FIG. 16 shows data format of parameterized strokes;

FIG. 17 shows control word format of stroke centerline;

FIG. 18 shows control word format of stroke outline;

FIG. 19 shows file data format of components data;

FIG. 20 shows data format of data file of stroke-composed characters;

FIG. 21 shows data format of stroke structure parameters;

FIG. 22 shows component-composed characters index;

FIG. 23 shows character parameters data format of Component-composedcharacters;

FIG. 24 shows component parameters data format of component-composedcharacters;

FIG. 25 shows stroke parameters data format of component-composedcharacters;

FIG. 26 shows character parameters data format of part sharedcomponent-composed characters;

FIG. 27 shows component parameters data format of part sharedcomponent-composed characters;

FIG. 28 shows stroke parameters data format of part sharedcomponent-composed characters;

FIG. 29 shows a compute screen coordinate system;

FIG. 30 shows a character coordinate system;

FIG. 31 shows a character component coordinate system;

FIG. 32 shows a stroke coordinate system.

DETAIL DESCRIPTION OF THE PREFERRED EMBODIMENTS

To illustrate the operation process with FIGS. 1-32: FIGS. 1-14 show theflowing charts of all modules consisting of generator. Every moduleshows how this technology handles with font generation by the algorithminvented according to computer graphic theories. FIGS. 15-28 show alldata files and data formats needed for the technical solution of theinvention and FIGS. 29-32 show various coordinates for generating thespace by which the data is transformed.

1. Summary

This technology is used for character information processing. It definesa curved outlines font lib data structure. This data structure includesstrokes and component data and thus the best characters are generatedwith generator. It is characterized in that: the lowest memory costwhile keeping its elegance. Usually, one-font standard GB18030 (includes27590 Chinese characters and 1136 other characters, 28726 in all) willcost 1.1M bytes. Here Standard means every font has its own data file,has specialized parameters, components and strokes. This technology willonly need one shared font-lib that takes 800 k bytes. Various fontscould share the same data somehow, Song will take 800 k, Fangsong, blackand Kai only take 600 k each and thus in all 2600 k (2.6M). TTF willtake more than 100M if 7 fonts are needed, in compare, only 4.5M willneeded. That would be a crucial technology for embedded system, whichhas limited memory resources. So it has wide usage.

1.1. Strokes of ZGX Font Libraries

ZGX font lib strokes are the basic elements to form characters.Different strokes are represented by different stroke index. The strokescan be classified as Heng, Shu, Pie, Na, Dian that could be furtherdivided to over 30 groups. In ZGX, over 1000 strokes shall be made.Strokes include Centerlines, constructions and outlines. The outlineswill form a closed curve.

The Centerlines are skeletons of the character. It includes control dotsfor all strokes and consists of beelines and Bezier lines. Strokesinclude head, body, inflexion and tail. Every part has control dots asreference to describe its outlines. Outlines also consist of beelinesand Bezier lines. The stroke sect index indicates its formal index, from0 to max. The stroke curvature indicates that in the head or tail, somecontrol dots' positions are changed. It has 15 modes from mode 1 to mode15. The curvature change segment number and the curvature change modewill be given in the index file of stroke library.

The descriptions for stroke centerlines and revivification displaygenerator are shown in FIGS. 5-14.

Every font has its own stroke lib.

1.2. ZGX Font Lib Components

ZGX font lib components are formed with some strokes. It could beclassified as 1-stroke component, 2-stroke component, 3-stroke component. . . and the maximum is 31-stroke component. The components arerepresented by the amount of strokes of component (how many strokes thecomponent has) and their own index number, and such data could be sharedaround variety-font products.

The strokes forming components have parameters of strokes number,thickness coefficient, center coordinates in x direction and y directionunder component coordinate system, scaling coefficients in x directionand y direction and curvature diversification in x direction and ydirection.

The stroke number could be shared in various font lib products as commondata.

Coordinates for stroke center under component coordinate system arelimited from −128 to 127. It is defined when customizing font libproducts, and represented in one byte.

The thickness coefficient works on outlines of strokes, it will makestrokes thick or thin. It could make effect on special section anddecorates the fonts.

Scaling coefficient in x direction and y direction will only work oncontrol points within centerlines. It will not change the thickness sothat the consistency in the thickness of the stroke will be ensured.Scaling coefficient is defined when customizing font lib products, takesa value from 0 to 255 and be saved in one byte also. Wherein 128 denotesdouble zooming. In compact mode, it could be defined in 6 bits and thushas a limitation from 32-95, the saving format is that the number abovedescribed subtracts number 32, that is it is saved as 0 to 63. Whereas64 denotes double zooming in compact mode.

Curvature diversification in x coordinate and y coordinate means changesin head, tail or some common section. It has 15 modes to work on asingle section or 2 sections. (at most 2 sections.) For examples, xcoordinates in head and y coordinates in tail is one mode, and xcoordinates in common section and y coordinates in it is another mode.The premier will solve compound stroke (such as hengzhe) problem and theratio problem of heng section and zhe section, and the latter one solvethe problem that the same stroke in different component has differentcurvature diversification. This parameter will make ZGX fonts preciselysame as any font templates, so that the precise and beautifulness of thecharacter in font library will be ensured. Each curvature changeincrement is between −128 and 127, and is expressed with one byte. Inthe compact font format, the curvature change increment can be expressedwith six bits format, because the curvature change increment is usuallysmall.

1.3. Characters of ZGX Font Library

ZGX font library is expressed with numbers, which can be from 1 to N (Nis a long integer), so the amount of the characters is no limited andthe font library can be super large. ZGX font library can be orderedaccording to both Unicode standard and Chinese standard (such as GB2312,GBK and GB18030).

The character of ZGX font library can be formed by several components,also several strokes directly. The former is called component-composedcharacter, while the later is called stroke-composed character.

Stroke-composed character means that the character is formed by severalstrokes, whose parameters data include: the number of each strokecomposing the character, the thickness of each stroke, the coordinatesof each stroke center in the character coordinate system, the scalingcoefficients of each stroke in X direction and Y direction, and thecurvature change increments of each stroke in X direction and Ydirection. The explanation of each parameter of stroke-composedcharacter is the same with the description of components of ZGX fontlibrary in section 1.2.

Component-composed character means that the character is formed byseveral components, whose parameters data include: the amount of strokesof each component (how many strokes the component has), the number ofeach component, the coordinates of each component center under thecharacter coordinate system, the scaling coefficients of each componentin X direction and Y direction, and the thickness coefficient of eachcomponent. Components are composed of strokes, as explained in section1.2.

The amounts of each component's strokes (how many strokes the componenthas) and the numbers of the components are the data that can be sharedin multi-font library products. It is only needed to be in the font fileof one typeface.

The coordinates of each component center under the character coordinatesystem are decided according to the structure position number. There are31 kinds of structure position numbers, such as left-right structure,up-down structure, surround structure etc., which are determined whenfont library product is customized.

The scaling coefficients of component in X and Y directions are limitedbetween 0 and 255, and each is expressed by one byte. In compact format,0 to 63 represents 32 to 95 respectively. Each scaling coefficient isexpressed by six bits, and the scaling coefficient “64” means double.1.4. Extern Called Parameters for Generating Character

When a character is generated in the device coordinate system, theparameters used are font number of the character, Chinese standard code(or Unicode standard) of the character, length of the character (unit:pixel), width of the character (unit: pixel), thickness coefficient ofthe character, foreground color of the character, display mode of thecharacter (such as rotation, bold, oblique, fill etc.), and the bitmapdata of the character returning from the buffer.

In principle, the extern called parameters has no limit on the length,width and thickness of the character. This means that one kind oftypeface can be any length, width and thickness, so the character can belong or short, bold or thin, also one typeface character may be used asmany kinds of typefaces.

1.5. Technical Specification of ZGX Font Library

Under the premise of ensuring preciseness and beautifulness ofcharacters, ZGX characters can save storage and accelerate the displayspeed mostly.

Standard format means that every font has its independent data files,i.e. different parameter library, component library and stroke library.Compact format means there is a kind of compact expression for data. Forexample, the parameter originally expressed by 8 bit now is expressed by6 bit. Multi-font share means that a part of multi-font data is the sameto be the shared.

The standard format GB18030 font library (27590 Chinese characters and1136 non-Chinese characters, 28726 codes together) of one font is 1.1MByte (while TrueType font library is over 15 Mbyte). The compact formatGB18030 font library of Songti typeface is 800 KByte, and the compactformat GB18030 font library of Fangsong, Heiti, Kaiti typeface isrespectively 600 Kbyte. Compact format GB18030 font library of fourtypefaces is 2.6 MByte together, and font library of seven typefaces is4.5 MByte together.

The revivification algorithm of ZGX font library is more excellent thanthat of TrueType font library, because the filling process of the formeris aimed at each stroke while not the whole character, so the fillingspeed of ZGX is faster. Additionally, the index of ZGX is simple anddirect, and all the math operations are integer operation with overalloptimization.

1.6 Detail Description of Revivification Display on Computer byCharacter Library Parameter

Hereinafter, the contents in (1) to (5) are description of outline datalibrary, that is, the description of stroke library, stroke-constructedcharacter parameter library, component library, component-constructedcharacter parameter library, character parameter library for multi-fontshared format component, and data format. The contents in (6) to (9) arethe steps of revivification display on a computer by strokes,stroke-constructed character, stroke-constructed component,component-constructed character. The contents in (10) to (12) are thesteps of interface implementing of the font display on computer.

(1) A font library based on the stroke centerline, each font styles havedifferent stroke libraries. The structure of the stroke library is shownin FIGS. 15-18; every stroke is divided into several segments accordingto its shape: head, body, corner and tail. There are several bodies andcorners in one stroke, the segments are described in lines or Beziercurves. The key points of the segment are the control points of thesegments. The relative locations of segments based on the control pointsdescribe the coordinates of the outline curve. The control points arethe start point and end point of the line, and also they are the startpoint, outside point and end point of the Bezier curve. The length ofthe stroke data is not equal to each other. The tail of the stroke endsthe stroke.

The data structure of the stroke library is that: the total number ofthe stroke holds two bytes;

The structure of the head of the stroke is that: the length of the datais equal to the number of the total stroke number multiplying 4. Everystroke holds 4 bytes, the first 3 bytes are the location index of thestroke, the last 4 bits of the last bytes describes the curvature changeand the front 4 bits describes the number of the segment that could becurve changed.

The data of the stroke: the data of the stroke centerline and theoutline curve data.

Different font style have different stroke library, there are 1000strokes in the stroke library, the data length of the strokes from 20bytes to 100 bytes.

(2) A font library that is directly constructed by strokes, each fontstyle has different stroke libraries (see FIGS. 20-21). The structure ofthe data is:

The relative location of the stroke data holds 4 bytes;

The amount of the all characters: 4 bytes;

The index of the characters: the length of the data is equal to thenumber of character number multiplying 4, and every character holds 4bytes, the first byte describes the number of its strokes which make upof the character, the next 3 bytes describe the character location.

The parameter data: the length is equal to the product of 8 multiplyingnumber of the strokes that make up of the characters, every stokeparameter holds 8 bytes, they are the number of the stroke (2 bytes),the thickness (1 byte), stroke location (2 bytes), scaling coefficient(12 bits) and curvature change increment (12 bits); The stroke library:as we have mentioned above in (1).

(3). A Chinese component library which are constructed by strokes, eachfont style has different component libraries (see FIG. 19), thestructure is that: The maximum number of the strokes which make up ofthe components: the total component number (see FIG. 19), holds 4 bytes,ranges from 20 to 29, namely the maximum number of the strokes whichmake up of the components ranges from 20 to 29, the arrangement of thecomponents is that: 2-stroke component, 3-stroke component and till ton-stroke component.

The index table of n-stroke components: holds 4*n bytes (n is themaximum number of the strokes which make up of the component), everylocation number of strokes components holds 4 bytes, that is: thelocation index of 2-stroke component, the location index of 3-strokecomponent and till to the location index of n-stroke component, thecomponents which are made up by same amounts of strokes have some, fromthe number 1 to the maximum number, the components which are made up by2 strokes hold 2*8 bytes, the components which are made up by 3 strokeshold 3*8 bytes.

The component index data: 8 multiplying the number of the bytes whichmake up of the component, every stroke index data hold 8 bytes, that is:the stroke number which holds 2 bytes, the thickness coefficient whichhold 1 byte, the stroke location which holds 2 bytes, the stroke scalingcoefficient which holds 12 bits and the stroke curvature changeincrement which holds 12 bits.

(4) A font library made up of components and its generator, which areshown in FIGS. 22-25, each font styles has different parameter datalibraries, its data format is that:

Version information: 4 bytes, the front 2 bytes is the name ofcorporation, the third byte is the symbol of the font style and the lastbyte is the symbol of the characters sets.

The start location of the character parameter: 4 bytes;

The start location of the component parameter: 4 bytes;

The start location of the stroke parameter: 4 bytes;

The character index data table: (n+1)*4 bytes, the first 4 bytes is thetotal number, the next 4*n bytes is the index of every characters, thefront 3 bytes is the character location, the last 1 byte is thecomponent number which make up to the character. The character parameterdata is that: the component number make up of the character holds 6bytes, they are that: the component number which holds 11 bits, thestrokes number make up of the component holds 5 bits, the componentlocation holds 2 bytes, the component scaling coefficient holds 12 bitsand the thickness coefficient holds 6 bits; the component parameterdata: see (3); the stroke parameter data: see (1).

(5) A several font style share structure library, each font stylelibrary has the same component number and the same stroke number, thesedata are described in a basic font and shared by other font, the datastructure is that:

The structure of the basic font has been described in (4);

The other font styles structure is that: see FIGS. 26-28;

The start location of the character parameter: 4 bytes;

The start location of the component parameter: 4 bytes;

The start location of the stroke parameter: 4 bytes;

The character index data table: 4*(n+1) bytes (n is the total characternumber), the first 4 bytes denotes the total number, the next 4*n bytesdenotes the index of every characters, the first 3 bytes denotes thecharacter location, the last 1 byte denotes the component number whichmake up of the character.

The character parameter data is that: the component number make up ofthe character holds 4 bytes, they are the component parameter whichholds 4 bytes, the component location holds 2 bytes, the componentscaling coefficient holds 12 bits and the thickness coefficient holds 4bits;

The component parameter data: see (3), while the stroke number isdeleted; The stroke library: see (1).

(6) A Stroke centerline technology and method of displaying stroke graphat high resolution in the compute screen coordinate system, see FIGS.5-14, FIGS. 15-18 and FIGS. 29-32, they are the key and base of the fontlibrary which made up by strokes, whether the font library made up bystrokes or the font library made up by components, the technology willbe boil down to how to display the stroke outline on the computerscreen. In order to explain the theory, we would display a characterconstructed by components at the computer screen coordinate, themathematics formula is shown in (6) of section 3.1.

The process of displaying one stroke on the computer screen from thefont library constructed by components is that:

Firstly, read the parameterized reference stroke data from parameterizedstroke library, i.e. the data of drawing centerline segments and outlinesegments. These data are the coordinates relative to the strokecoordinate system.

Because Chinese character's components are composed of strokes, thesecond step is to transform coordinates of points on strokes from strokecoordinate system into component coordinate system, combine withcomponent and call extern called parameters for data processing at thesame time.

The Chinese character is composed of several components. Each componenthas different size and position. The third step is to transformcoordinates of composed strokes from component coordinate system intocharacter coordinate system, combine with character and call externcalled parameters of the strokes belonging to the component for dataprocessing.

Every stroke of Chinese characters will be displayed on computer screenin the end. The fourth step is to transform coordinates of each point ofcomposed strokes from character coordinate system into compute screencoordinate system, and combine with extern called parameters for dataprocessing. These extern called parameters are character's length,width, scaling coefficients, coordinates of character center in screencoordinate system, foreground and background colors for characterdisplaying, and memory array pointer of font's bitmap.

Through the data processing and coordinates transform above described,the coordinates of points on stroke centerline segment in screencoordinate system have been gained. Firstly every segment of strokecenterline has been drawn. If the segment has curvature change, thencurvature change increment will be added to the corresponding point. Andthen centerline segments are drawn with lines or Bezier curves accordingto segment signs. The drawing of lines or Bezier curves use knownalgorithms. After drawing all segments, the skeleton line of strokecenterline has been done. Reference to the control points of centerlinesegments, combining with stroke thickness parameter and curvatureparameters of all segments, the coordinates of points of the firstoutline segments in screen coordinate system can be computed byclockwise from head to tail, and all segments of the first outline ofthe stroke can be drawn. Then draw the segments of the second outlinefrom tail to head. Coordinates of each outline segment are relative tothe corresponding control points of centerline. These relativecoordinates multiply thickness coefficients, the extern calledparameters, and plus coordinates of corresponding control points ofcenterline. The results are the coordinates of each outline segment inscreen coordinate system. Then outline segments are drawn with lines orBezier curves according to each segment's signs and drawing mode. Afterthese segments have been drawn, the outline of the stroke is completed.Two outlines form a closed area. Filling this area with known fillingalgorithms, a stroke of a Chinese character has been displayed. Based onthe centerline technology, every stroke would be described precisely,while magnifying and reducing one stroke, it will only act on thecenterline control points, and outline will change under the centerline.The change of the character thickness won't change the stroke thickness.That will keep the consistency of strokes thickness of the characters.The thickness parameters only act on the stroke outline. Thus this willrealize all kinds of thickness of font styles, especially the thicknessis zero, namely only the centerline is drawn. The stroke that only hascenterline is nice. The thickness parameters also act on the especialsegments, which will keep the font style precise. The curvatureparameter could make the font style to match the character modelscompletely. The character models were written by the excellent expertsin our country. Our font styles accord with the country characterstandard. There are 27500 Chinese characters in GB18030, 320000 strokes.We only need 1000 strokes to create our stroke library, based on theparameters we could match the 1000 strokes to the 320000 strokes withdifferent styles, different sizes and different thickness.

(7) A method of displaying the character constructed by strokes,comprising: see section 4, FIG. 4, FIG. 20 and FIG. 21, Firstly, get theextern called character code, extern called parameters in characterrevivification array, such as character thickness, character width,character length, character displaying color or grayscale and characterdisplay mode. Font size of corresponding font can be got according tothe character code index. The amount of components and parameters ofeach component are read from component-composed font file according tothe font size. The parameters of each component are the amount of acomponent's strokes, component number, coordinates of component center,component scaling coefficients and component thickness coefficients.Every component is displayed after coordinates transforming and dateprocess computing according to the extern called parameters andparameters of every component. For all components of the character,repeat doing according to steps of (6) till all the components aregenerated on the screen.

(8) A method of displaying the component constructed by strokes,comprising: see section 4.3, FIG. 19 and FIG. 4. Firstly read the externcalled parameters of the character, the parameters include the amount ofthe component's strokes, the component number, component position,component scaling coefficients, and component thickness. According thecomponent number and this type component index, we could get the strokesdata that make up of the component. These stroke parameter data includethe stroke number, the stroke thickness coefficient, the strokelocation, the stroke scaling coefficient, the stroke curvature changeincrement, according the coordinate change of the components externcalled parameters and the strokes parameters, we could display the everystrokes of the components on the screen. When we displayed all thestrokes of the character according to steps of (6), we finished thedisplay of the character. There are 27500 Chinese characters in GB18030standard, and these characters need 5000 components with theirparameters.

(9) A method of displaying the characters constructed by components,comprising: see section 4.3, FIG. 1 and FIGS. 22-25, firstly accord tothe character coding and the thickness of the characters, the width ofthe character, the display color, the display mode and the extern calledparameters, and the character code index, we could get the data from thefont library, the data include the numbers of the components, thecomponents numbers, the components coordinates, the components scalingcoefficients and the components thickness. According the coordinatechange of the components' extern called parameters and the characterparameters, we could display the every component of the characters onthe screen according to steps of (8). When we displayed all the strokesof the character, we finished the display of the character. This fontlibrary includes 1000 strokes and 5000 components, these components withtheir parameters made up of 27000 Chinese characters in GB18030, alsothese components and strokes could make up of all kinds of font stylelibraries.

(10) A revivification method of High-precision Chinese described byStroke Centerlines: the method could be applied on various OperationSystems. It is firstly realized on WINDOWS OS in PCs by using standard Clanguage and thus been transplanted to embedded system-NUCLEUS bysolidified to memories. Font-lib chips or character RevivificationDisplay chips could be produced by this and then solidified to CPU orembedded OS. The steps for generating high resolving curves by using allkinds of revivification methods have been described in (6)-(9).

(11) An interface for calling Chinese character revivification displayby application: also see section 4: ZGX font-lib interface module. Themodule are consists of 3 sub modules. One init module, also see section4.2 and FIG. 2; One revivification display module, also see section 4.3and One display device to show character strings, also see section 4.4.

The inputs for init module include: font number that represents Song,Fangsong, Kai and Black in GB18030, both component formed fonts andstroke formed fonts. Even Korean fonts, Japanese fonts or western fontscould be operated. It could handle SBC case and UNICODE/GB2312 cases.

The outputs will return a pointer to arrays. That is the data for allfonts, all components and all strokes. The pointer could be used forrevivification display module. Such module will read outer parametersinto memory arrays—if such data are solidify into memories before, theywill be seen as constants—those pointer could be read into modules touse and thus ignore the init module.

Inputs for Chinese character revivification display module include:standard code for Chinese characters, Unicode index, font number, outparameters array, return parameter type and pointers to outputs.

Outputs return to computer include: revivification display dataaccording to return type, usually the bitmap data for Chinesecharacters, a high-speed copied output for such fonts.

The interface will call component from modules (see FIG. 1 and the (9)above described), direct stroke form module (see FIG. 4 and the (7)above described), stroke component sub module (see FIG. 4 and the (8)above described), stroke draw module (see FIG. 5 and the (6) abovedescribed) and those parameters obtained from init module.

(12) A device for displaying Chinese strings: see section 4.4. The inputis a string, its position is located at up-left corner of the screen,its parameter array (Which has been described in section 4.1, includesouter parameters, width and size, etc)

The outputs are a string showing on screen according to the externcalled parameters.

It will be realized by interfaces described in section 4.3.

2. Data Format of ZGX Font Library

2.1. Data File of Strokes (See FIG. 15)

Data format of strokes (see FIG. 16).

The data format of control word for each stroke center-line segment isrepresented in one byte. The definition of every bit of the control wordis shown in FIG. 17.

Data of the stroke center-line segments include: head coordinates (2Byte), control word of segment (1 Byte), body data (2*z00 Byte), andtail control word.

Data of the stroke outline segments include: control data format of eachsegment represented in 1 Byte, the definition of every bit of the wordis explained below (see FIG. 18).

Data format of stroke outline segment: segment control word (1 Byte),coordinates increment of 1st edge outline (2 Byte), coordinatesincrement of 2nd edge outline (2 Byte), other points coordinates of thehead (2×tqy Byte), body data (4×z00 Byte, including points on 1st and2nd edge outline); corner control word (1 Byte), 1st outline coordinatesincrement (2 Byte), 2nd outline coordinates increment (2 Byte), otherpoints coordinates of the corner (2×tqy Byte), body data (4×z00 Byte,including coordinates of points on 1st and 2nd outline); tail controlword, other points coordinates of the tail (2×tqy Byte).

2.2. Data File of Components

Please see FIG. 19.

2.3. Data File of Stroke-Composed Characters

The first four bytes is the start position of stroke data (with regardto head file).

The next four bytes is the total number of Chinese characters.

Then, the index data of every Chinese character takes four bytesorderly, where the first one byte is the stroke amount of the character,and the next three bytes are the position of the stroke data in thestroke parameter file (see FIG. 20).

The length of the data block is the product of 4 multiplying the totalnumber of Chinese character.

The following data block is the stroke structure parameters: everystroke takes 8 bytes, where the first two bytes is the stroke number,the third byte is the thickness of the stroke, the next five bytes arethe X, Y, SX, SY, QX, QY of the stroke (see FIG. 21).

The storage of the data block is: amount of all Chinese characters'strokes*8 bytes;

Next, it is the stroke generating data block. It is composed of:

The amount of strokes: 2 bytes;

The index of stroke data: 4*amount of strokes, stroke data (FIG. 15 isthe compact format of stroke data file).

2.4. Data Format of Component-Composed Characters

Basic font file is mainly composed of several parts: index table,character parameter data, component parameter data and stroke data.Index table (see FIG. 22)

Character parameter data (see FIG. 23)

Component parameter data (see FIG. 24)

Stroke data (see FIG. 25)

2.5. Format of Part Shared Multi-Font Component-Composed Characters

Other font files are mainly composed of index table, character parameterdata, component parameter data, and stroke data. The data formats indetail are described as following:

Index table (see FIG. 22)

Character parameter data (see FIG. 26)

Component parameter data (see FIG. 27)

Stroke data (see FIG. 28)

3. The Mathematical Model and its Font Generator Device

3.1. Coordinate System and Transforming Formula

ZGX font library uses following coordinate systems: device coordinatesystem (relative to printer or other devices), character coordinatesystem, component coordinate system and stroke coordinate system.

(1) Device Coordinate System

Take computer's monitor as an example, the definition of the screen isas FIG. 29.

The origin of the screen is (0,0) at the top left corner. The Y-axis isdown, and the X-axis is rightward. The resolution of VGA is 640*480, sothe coordinates of the bottom right corner is (639,479).

(2) Character Coordinate System

In FIG. 30, x₁o₁y_(i) is the coordinate system, and xoy is the devicecoordinate system. The center of the character is in the devicecoordinate system. To display a character, the following data areneeded: the number of the character, the scaling coefficients in Xdirection and Y direction (the resolution of the reference character is256*256) and the coordinates of the character's center o₁(x₀, y₀) (thispoint is the origin o₁ of the character coordinate system's center).Then the character can be displayed right in the given position.

(3) Component Coordinate System

In FIG. 31, x₂o₂y₂ is the component coordinate system, relative tocharacter coordinate system. And o₂ is the center of a component. Everycomponent has a component coordinate system relative to charactercoordinate system. Displaying a character is realized by displayingseveral components. To display a character, it is needed to read thenumber of each component, the scaling coefficients in X and Ydirections, and the relative coordinates (x₁₀, y₁₀) of o₂.

(4) Stroke Coordinate System

In FIG. 32, x₃o₃y₃ is the stroke coordinate system, relative tocomponent coordinate system x₂oy₂. Generating a component is realized bydisplaying several strokes. To generate a component, it is needed toread number of each stroke, the scaling coefficients in X and Ydirections, and the relative coordinates (x₂₀, y₂₀) of o₃ in x₂o₂y₂coordinate system. Also, every stroke has a stroke coordinate system.How to generate a stroke? In the stroke coordinate system, the stroke isgained by filling algorithm according to the stroke's coordinates andcurve fitting parameters (read from stroke file according to the numberof the stroke).

(5) Fitting of Second-Order Bezier Curve

It is shown in FIG. 32. The short Pie is divided into three segments,and every segment uses a fitting of second-order Bezier curve.

The first segment uses the coordinates of {circle around (1)}, {circlearound (2)}, and {circle around (3)}. The {circle around (2)} is thepoint of intersection of the tangents of {circle around (1)} and {circlearound (3)}).

The second segment uses the coordinates of {circle around (3)}, {circlearound (4)}, and {circle around (5)}. The {circle around (4)} is thepoint of intersection of the tangents of {circle around (3)} and {circlearound (5)}.

The second segment uses the coordinates of {circle around (5)}, {circlearound (6)}, and {circle around (1)}. The {circle around (6)} is thepoint of intersection of the tangents of {circle around (5)} and {circlearound (1)}.

If curve from {circle around (1)} to {circle around (3)} is a line, than{circle around (2)} can be any point on the line.

The formula is as following:

${\begin{matrix}{{x(t)}\mspace{34mu}{x_{1}\left( {1\mspace{25mu} t^{2}} \right)}\mspace{25mu} 2{t\left( {1\mspace{25mu} t} \right)}x_{2}\mspace{25mu} t^{2}x_{3}} \\{{y(t)}\mspace{31mu}{y_{1}\left( {1\mspace{25mu} t^{2}} \right)}\mspace{25mu} 2{t\left( {1\mspace{25mu} t} \right)}y_{2}\mspace{20mu} t^{2}y_{3}}\end{matrix}{wherein}},{t\mspace{25mu} 0},{1\mspace{166mu}\begin{matrix}(1) \\(2)\end{matrix}}$

In the formula, (x₁, y₁), (x₂, y₂) and (x₃y₃) are respective thecoordinates of the head point, the middle point and the end point.

Thus, it is only needed to save the relative coordinates of {circlearound (1)} to {circle around (6)} points for Bezier curve fitting. Thedata format is the same as that of broken line, but the difference isthe record of coordinates of even points. And the point is theintersection of the tangents of ore-and-aft two points.

(6) Coordinates Transform of Generating a Character in a Device

The transform formulas for coordinate points on every stroke of everycomponent from character coordinate system to device coordinate systemare:X_(kij)((X_(2i)S_(xBi)X_(3j)128)B_(xk)128X_(k) ₁ )Z_(xs)128X₀Y_(kij)((Y_(2i)S_(yBi)Y_(3j)128)B_(yk)128Y_(k) ₁ )Z_(ys)128Y₀Where,X_(kij), Y_(kij) denotes coordinates of the ith stroke in the charactercoordinate system;Z_(xs), Z_(ys) denotes scaling coefficients of the character;X₀, Y₀ denotes character's coordinates in the screen coordinate system;X_(3j), Y_(3j) denotes the ith stroke's coordinates in the strokecoordinate system;X_(k1), Y_(k1) denotes coordinates of the kth component's center in thecharacter coordinate system;B_(xk), B_(yk) denotes scaling coefficients of the kth component'scenter in X and Y directions;X_(2i), Y_(2i) denotes coordinates of the kth component's ith stroke'scenter in the character coordinate system;S_(xBi), S_(yBi) denotes scaling coefficients of the kth component's ithstroke in X and Y directions;k=1 to the amount of components of the character;i=1 to the amount of strokes of the kth component;j=1 to the amount of points of the kth component's ith stroke;

in case of k=1, the character is composed of strokes directly, and theformula above described is used for the coordinate transform whenconstructing character by strokes.

3.2. ZGX Font Generator Device

The flow chart of the module is as following:

(1) The flow chart of main module, as shown in Steps 110-120 of FIG. 1.

(2) Read font library data into memory array, as shown in Steps 210-220of FIG. 2.

(3) Transform Chinese Standard code (or Unicode code) into characternumber of ZGX font library, as shown in Steps 310-316 of FIG. 3.

(4) Generate Stroke-composed character according to the character numberof ZGX font library, as shown in Steps 410-414 of FIG. 4.

(5) Generate Component-composed character according to the characternumber of ZGX font library, as shown in FIG. 1.

(6) The flow chart of stroke generator, as shown in Steps 510-524 ofFIG. 5.

(7) Recursive call module of Bezier curve, as shown in Steps 610-614 ofFIG. 6.

(8) The sub-module of generating a stroke segment with one or moreBezier curve is shown in Steps 710-711 of FIG. 7.

(9) The sub-module of generating a stroke segment with one line or more,as shown in Steps 810-811 of FIG. 8.

(10) The sub-module of transforming line, as shown in Steps 910-911 ofFIG. 9.

(11) The sub-module of drawing line, as shown in Steps 1010-1017 of FIG.10.

(12) The sub-module of drawing bitmap in buffer, as shown in Steps1110-1111 of FIG. 11.

(13) The sub-module of filling algorithm, as shown in Steps 1210-1215 ofFIG. 12.

(14) The sub-module of edge table (ET) of edges, as shown in Steps1310-1316 of FIG. 13.

(15) Insert all edges of one item from ET of edges into active edgetable (AEL) in ascending order by cxBottom, as shown in Steps 1410-1416of FIG. 14.

4. ZGX Font Library Call Interface Device

4.1. Data Structure Definition

(1) Return Pointer Array of Font Initialization

typedef struct fhzz

{

long*zys;

long*zics;

long*zrcs;

long*bhcs;

}fhzz,far*lpfhzz;

zys: data pointer of character index parameter;

zics: data pointer of character parameter for font;

zrcs: data pointer of component parameter for font;

zhcs data pointer of stroke parameter for font.

(2) Revivification Array of (Chinese) Character

typedef struct hzfycs

{

unsigned char zhd;

unsigned char zkd;

unsigned char zcd;

unsigned char zys;

unsigned char zfs;

}hzfycs,far*lphzfycs;

zhd: the thickness parameter of Chinese character, 1 Byte, its standardvalue is 32;

zkd: the width parameter of Chinese character, 1 Byte, using pixel asunit;

zcd: the length parameter of Chinese character, 1 Byte, using pixel asunit;

zys: the color or grayscale of Chinese character, 1 Byte;

zfs: the display mode parameter of Chinese character, 1 Byte.

The definition of parameter value is as following:

The first two bits denote the rotation mode: 00 means the routine (norotation), 01 means 90 degree rotation, 10 means 180 degree rotation, 11means 270 degree rotation.

The third bit denotes the bold or not: 0 means routine, 1 means bold.

The fourth bit denotes the italic or not: 0 means routine, 1 meansitalic.

The fifth bit denotes that it is underlined or not: 0 means routine, 1means underline.

The sixth and seventh bits denote the filling mode of Chinese character:00 means only drawing centerline i.e. single line character, 01 meansfilling Chinese character by ‘OR’ mode, 10 means filling Chinesecharacter by ‘AND’ mode, 11 means filling Chinese character by ‘XOR’mode.

The eighth bit denotes the display mode of character: 0 means DBC case,1 means SBC case, 1 means Chinese character.

4.2. Initialization of Font

(1) Interface Module

Hz_S (zth, lpfhzz);

zth: font size, character parameter, these are entrance parameters;

The definitions of parameters are as following:

0: 16*16 bitmap font library according to GB-2312 standard;

1: Outline font library of Songti (Chinese) font according toGB18030-2000 standard;

2: Outline font library of Heiti (Chinese) font according toGB18030-2000 standard;

3: Outline font library of Fangsongti (Chinese) font according toGB18030-2000 standard;

4: Outline font library of Kaiti (Chinese) font according toGB18030-2000 standard;

5: Outline font library of special characters according to GB18030-2000standard;

6: . . .

Lpfhzz: return parameter, pointer of pointer array.

(2) Realization Method

Open file according to the size of font, for example, the name of GB231216*16 font library file is DW16D, the name of GB18030-2000 Songtioutline font library file is DWSTQ, the name of GB-2312 Heiti outlinefont library file is DWHTQ, and the name of special character fontlibrary file is DWQZFK.

Twelve memory array are defined respectively as GB-2312 16*16 bitmapfont array, index parameter array of GB18030-2000 Songti outline fontlibrary, character parameter array of Songti font, Songti componentparameter array and Songti stroke parameter array; character indexparameter array of Heiti outline font library, character parameter arrayof Heiti font, Heiti component parameter array and Heiti strokeparameter array; parameter arrays of Fangsong, Kaiti, and specialcharacter etc.

Read file data according to the font into corresponding array;

Return the pointer of each array.

4.3. Revivification of Chinese Characters

(1) Interface Module

HZ_X(hz$,zth,hzfycs,fclx,zbuf);

Hzh: size of font;

hz$: the Chinese standard code of a Chinese character, usually 2 bytes;

hzfycs: the revivification parameter array of Chinese character, 5bytes;

Fclx: the type of a return parameter, 0 denotes bitmap, 1 denotesoutline or vector array, 2 denotes TTF data format, 3 denotes PS dataformat;

Zbuf: bitmap of returned Chinese character or other data buffer pointer;this is a returned parameter.

The storage mode of Chinese character bitmap is that every pixel takes 1bit, every character takes [((zkd*zcd)+7)/8] bytes.

(2) Realization Method

Find the corresponding array pointer according to the size of font;

Calculate the size of Chinese characters according to the inner code.The formula for calculation is as following:

Suppose the higher byte of the inner code is C1, and the lower byte isC2 (C1, C2 are the integer with no sign). If C1=0, then go to DBC caseprocess.

If hz$ is in the range of character code, i.e. the Chinese standard codeis between 0X1F and 0X80, A1A1-A1Fe and A9A1-A9FE, A840-A87E andA880-A8FE and A940-A97E and A980-A9FE (total amount is 1136), thecharacter font library DWQZFK will be called. Outline font library usestwo steps to generate Stroke-composed characters. The module of strokerevivification needn't to be modified. It is only needed to modify thecalled outline font library file, process the structure file of thecharacter, and calculate the order number ZH of the character in thefont library according to the code:

if(hz$>=0x1f && hz$<=0x80) ZH=hz$−0x1f;

else if(c0>=0xa1 && c0<=0xa9 && c1>=0xa1 && c1<=0xfe)

ZH=99+(c0−0xa1)*94+c1−0xa1;

else if(c0>=0xa8 && c0<=0xa9 && c1>=0x40 && c1<=0xa0)

{

ZH=945+(c0−0xa8)*96+c1−0x40;

if(c1>0x7f) ZH--;

}

Else go to the corresponding font file for Chinese font library, and dothe following process:

If C1>=0XB0 and C1<=0XF7 and C2>=0XA1, then characternumber=(C1−176)*94+C2−161;

If C1>=0X81 and C2<=0XA1: if C2>=0X7F, then C2--, characternumber=(C1−176)*94+C2−64+6768;

If C1>=0XAA and C2<=0XA1: if C2>=0X7F, then C2--, characternumber=(C1−170)*96+C2−64+12848;

The number of four-byte character is between 21008 and 27589.

The data describing the character are found according to the characternumber;

If the character is a 16*16 bitmap font character, then the data pointerof the character is: bitmap font data pointer+(character number−1)*32;

If the character is an outline font character, then its characterparameter data will be found according to character index file andcharacter number, then the component parameter data will be foundaccording to the character parameter data, and finally the stroke datawill be found according to each component parameter data.

The coordinates of each stroke are calculated.

The drawing stroke sub-module is called.

The drawing stroke sub-module calls drawing line sub-module and drawingBezier curve sub-module. In the end, the filling module is called.

Additionally, there are rotation, bold, underline, and italic modules.

(3) Design

An interface module, a drawing stroke sub-module, a drawing linesub-module, a drawing Bezier curve module and a filling sub-module arerequired by design.

The stroke drawing line sub-module and the filling sub-module need to berealized in buffer.

The calculating of the character drawing control is on the 256*256rectangle. It is scaled when drawing centerline and outline (firstly,both the length and width of the character are 256; when drawingcenterline and outline of the stroke, the following calculating isapplied: X coordinate relative to the character's center*character'swidth/256, Y coordinate relative to the character's center*character'slength/256).

Return the bitmap, vector outline, TTF format or PS format of thecharacter.

Fault tolerance: All characters can be displayed at any resolutionwithout error, distortion and beyond the limits.

4.4. Display of Character String

(1) Interface Module

HZ_C(hzc$,zth,zxx,zyy,hzfycs);

Hzh: size of font;

hzc$: the code string of a Chinese character or a set of characters;

Zxx: the X coordinate of the displaying character string in the top leftcorner;

Zyy: the Y coordinate of the displaying character string in the top leftcorner;

hzfycs: the revivification parameter array of characters, 5 bytes.

1. A Chinese character displaying method comprising the steps of: reading parameterized reference stroke data of a Chinese character, the parameterized reference stroke data represent coordinates under a stroke coordinate system and comprise data of drawing centerline segments and data of drawing outline segments; transforming the coordinates under stroke coordinate system into data under a component coordinate system by using first external calling parameters, the first external calling parameters comprising thickness of stroke, scaling coefficients of stroke, coordinates of stroke center under the component coordinate system and curvature change parameter; transforming data under the component coordinate system into a data character coordinate system by using second external calling parameters, the second external calling parameters comprising thickness of component, scaling coefficients of component, and coordinates of component center under the character coordinate system; transforming data under the character coordinate system into data under a screen coordinate system by using third external calling parameters, the third external calling parameters comprising length of character, width of character, scaling coefficients of character, coordinates of character center under screen coordinate system, foreground and background colors for character displaying, and memory array pointer of a font bitmap; and displaying, on the basis of the data under the screen coordinate system, the character by drawing outline of the character.
 2. The Chinese character displaying method of claim 1, wherein the step of displaying the character comprises: displaying, on the basis of the data under screen coordinate system, each stroke of the component so as to display the component.
 3. The Chinese character displaying method of claim 2, wherein the step of displaying the character further comprises: displaying the character by displaying each component of the character.
 4. A Chinese character displaying method comprising the steps of: reading parameterized reference stroke data of a Chinese character, the parameterized reference stroke data representing coordinates under a stroke coordinate system and comprising data of drawing centerline segments and data of drawing outline segments; transforming the coordinates under the stroke coordinate system into data under a character coordinate system by using first external calling parameters, the first external calling parameters comprising thickness of stroke, scaling coefficients of stroke, coordinates of stroke center under the character coordinate system and curvature change parameter; transforming data under the character coordinate system into data under a screen coordinate system by using second external calling parameters, the second external calling parameters comprising length of character, width of character, scaling coefficients of character, coordinates of character center under the screen coordinate system, foreground and background colors for character displaying, and memory array pointer of font's bitmap; and displaying, on the basis of the data under the screen coordinate system, the character by drawing outline of the character.
 5. The Chinese character displaying method of claim 4, wherein the step of displaying the character comprises: displaying, on the basis of the data under screen coordinate system, each stroke of the component so as to display the character. 